#pragma once
#include "mygamewindow.h"
#include "string"
using namespace std;

class CMyGameStaticText :public CMyGameWindow
{
protected:
	COLORREF m_crColor;
	HFONT    m_hFont;
	LOGFONT  m_lf;

public:
	CMyGameStaticText(void);
	CMyGameStaticText(string strText,COLORREF crColor = 0);
	~CMyGameStaticText(void);

	BOOL OnCreate();
	void Draw(HDC hDC);
	void Update();
	void SetGameWindowText(string strText);
	void SetColor(COLORREF crColor);
	void CalButtonRect();
};
